
import Layout from '@/layout'

const operationRouter = {
  path: '/operation',
  component: Layout,
  redirect: '/operation/adminList',
  name: ' operation',
  meta: {
    title: '系统管理',
    icon: 'clipboard'
    // roles: ['admin']
  },
  children: [
    {
      path: 'roleManager',
      component: () => import('@/views/systemSetting/roleManager'),
      name: 'roleManager',
      meta: { title: '角色管理', icon: '' }
    },
    {
      path: 'adminList',
      component: () => import('@/views/systemSetting/adminList'),
      name: 'adminList',
      meta: { title: '管理员列表', icon: '' }
    },
    {
      path: 'dept',
      component: () => import('@/views/dept/dept'),
      name: 'dept',
      meta: { title: '部门管理', icon: '' }
    },
    {
      path: 'promiseRules',
      component: () => import('@/views/systemSetting/permissionRules'),
      name: 'promiseRules',
      meta: { title: '菜单管理', icon: '' }
    },{
      path: 'dictionaryManagement',
      component: () => import('@/views/systemSetting/dictionaryManagement'),
      name: 'dictionaryManagement',
      meta: { title: '字典管理', icon: '' }
    },
    {
      path: 'dict',
      component:() =>import('@/views/systemSetting/dict'),
      name:'dict',
      meta: {title: '字典详情', icon: ''}
    },
    {
      path: 'message',
      component: () => import('@/views/notice/messageNotice'),
      name: 'message',
      meta: { title: '通知公告', icon: '' }
    },
  ]
}

export default operationRouter  //collate
